package cn.ppwx.crm.modules.sys.web.template;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.ppwx.crm.modules.sys.service.WorkFlowService;

@Controller
public class WorkFlowController {

	@Autowired 
	private WorkFlowService  workFlowService;
	
	
	
    @ResponseBody
    @RequestMapping(value = "${frontPath}/delpoy")
    public String queryTemplate() {

        workFlowService.deploymentProcessDefinition();
        
        return "success";
    	
    }
	
	
	
	
	
}
